package top.infopub.mgr.mkt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.mkt.dao.DeciProAttDao;
import top.infopub.model.mkt.DeciProAtt;
import top.infopub.mgr.mkt.service.DeciProAttService;

@Service
public class DeciProAttServiceImpl extends GenericServiceImpl<DeciProAtt, String> implements
		DeciProAttService {

	@Autowired
	private DeciProAttDao deciProAttDao;
	
	@Override
	public GenericDao<DeciProAtt, String> getDao() {
		return deciProAttDao;
	}
	
	@Override
    public List<DeciProAtt> selectAllProAtts(String proCode) {
        return deciProAttDao.selectAllProAtts(proCode);
    }

}